package com.lly.songhigh.download;

import android.app.Notification;
import android.content.Context;
import android.widget.RemoteViews;

import com.lly.songhigh.R;

public class NotificationBean extends Notification {
    private Context mContext;


    public NotificationBean(Context context, int icon, CharSequence tickerText, long when, String title) {
        super(icon, tickerText, when);
        this.mContext = context;
        this.flags = Notification.FLAG_AUTO_CANCEL;


        RemoteViews mRemoteView = new RemoteViews(mContext.getPackageName(), R.layout.remote_view);
        this.contentView = mRemoteView;

        contentView.setTextViewText(R.id.downloading_songName, title);
    }


}
